require.config({
    baseUrl: Config.staticDomain + "/js/extends",
    paths: {
        "text": Config.staticDomain + "/js/text"
    },
    urlArgs: "v=" + Config.appVersion,
    config: {
        text: {
            useXhr: function (url, protocol, hostname, port) {
                return /.tpl/.test(url) || /.html/.test(url)
            }
        }
    }
});
